<template>
    <el-form  label-width="80px" style="width:80%;margin: auto;">
        <el-form-item label="语录">
            <el-input type="textarea" maxlength="500" show-word-limit rows="5"></el-input>
        </el-form-item>
        <el-form-item label="作者">
            <el-input ></el-input>
        </el-form-item>
        <el-form-item>
            <el-button type="primary">创建</el-button>
            <el-button @click="goBack">返回</el-button>
        </el-form-item>
    </el-form>
</template>

<script>
export default {
    methods: {
        goBack() {
            this.$router.push('/')
        }
    }
}
</script>